Class yassl.ifnode
All Packages    This Package    Previous    Next

Class yassl.ifnode

java.lang.Object
   |
   +----yassl.pnode
           |
           +----yassl.ifnode

public class ifnode
extends pnode
Node representing an if-then-else node

Constructor Index

 o ifnode(pnode, pnode, pnode)

Method Index

 o eval(Env)
The value returned by an if node is the value of the statement that is finally executed.

Constructors

 o ifnode
  public ifnode(pnode expr,
                pnode truepart,
                pnode falsepart)

Methods

 o eval
  public pnode eval(Env e) throws yasslError
The value returned by an if node is the value of the statement that is finally executed.
Overrides:
eval in class pnode


All Packages    This Package    Previous    Next